package com.example.utils;

/**
 * Created with IntelliJ IDEA.
 * Description:创建字符串工具类
 * User: bjc
 * Date: 2025-10-01
 * Time: 16:43
 */
public class StringUtils {
    /**
     * 判断字符串是否为空
     * @param str 待判断的字符串
     * @return true:为空 <br/> false:不为空
     */
    public static boolean isEmpty(String str) {
        return str == null || str.length() == 0;
    }
}
